package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_drink_order", desc = "饮子摊-订单记录", autoSave = true, uploadCk = true)
public class LogDrinkOrder extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "订单ID")
    private int orderId;
    @FieldTypeAnnotation(desc = "是否完成")
    private boolean complete;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward = "";

    public LogDrinkOrder(long userId, int activityId, int orderId, boolean complete, String reward) {
        this.userId = userId;
        this.activityId = activityId;
        this.orderId = orderId;
        this.complete = complete;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
